package com.mucfc.crm.service;

import com.mucfc.crm.dubboinf.CrmCouponService;

/**
 * Created By HuQingmiao on 2016-03-08
 */
public class CrmCouponServiceImpl implements CrmCouponService {

    /**
     * @param activityId   优惠券系统提供的活动号
     * @param custBaseName CRM调用派券接口时的唯一码
     * @param result       成功：succ; 失败：fail
     * @param errorCode
     * @param errerMsg
     */
    @Override
    public void feedBackSendResult(Long activityId, String custBaseName, String result, String errorCode, String errerMsg) {
        System.out.println(">>>Received message from coupon system: ");
        System.out.println("activityId: " + activityId);
        System.out.println("custBaseName: " + custBaseName);
        System.out.println("result: " + result);
        System.out.println("errorCode: " + errorCode);
        System.out.println("errerMsg: " + errerMsg);

        // CRM 处理优惠券系统反馈的派券结果
        // ...
    }
}
